home *** CD-ROM | disk | FTP | other *** search
/ PsL Monthly 1993 December / PSL Monthly Shareware CD-ROM (December 1993).iso / prgmming / dos / tools / xmstrix.com / XMSTRIX.DOC < prev   
Encoding:
Text File  |  1988-11-02  |  2.2 KB  |  50 lines

  1. =============  Documentation for XMSTRIX.ARC  =================
  2.  
  3.    Released into the Public Domain, November/88 by Don Roy. 
  4.  
  5. _______________________________________________________________
  6.  
  7. This ARC file contains source and assembled versions of programs
  8. built around the Microsoft Extended Memory Specification (XMS),
  9. Version 2.0 for MS-DOS. It is not likely that too much of the
  10. source code will make a bunch of sense unless you also have the
  11. file HIMEM.ARC which is available on many BBS's including
  12. Compuserve and Canada Remote Systems. One of the reasons for
  13. this is that I'm not about to repeat the information here that
  14. documents the XMS function calls.
  15.  
  16. While the included programs aren't earth shattering in their
  17. functionality, they do provide key examples of how to accomplish
  18. certain things, using extended memory, that can help make your
  19. programming efforts more powerful. At the minimum, you can add
  20. up to an extra 64K of executable code space for your programs.
  21. How to use the balance of the available extended memory for
  22. _data_ space is explained in HIMEM.ARC.
  23.  
  24. The first program HICOPY.ASM simply copies a portion of itself
  25. into extended memory and leaves it there. You can view that the
  26. program was successful by using DEBUG - see instructions in the
  27. HICOPY.ASM source file.
  28.  
  29. After you have run HICOPY.COM and viewed the `DATA' in extended
  30. memory, you will have to do some housekeeping to make the HMA
  31. (High Memory Area) available again. This is done by running the
  32. HICLEAR.COM program. Again, to see why this is necessary, review
  33. the contents of the HICOPY.ASM file.
  34.  
  35. The third file HICOPY2.COM extends HICOPY by writing a bit of
  36. code into the HMA and then calling it from conventional memory.
  37. This begins to unveil the potential of the XMS specification.
  38. What you do with it now is up to you.
  39.  
  40. Technical Notes: All .COM files were assembled with MASM 5.0,
  41. ================ but should also work with MASM 4.x. All
  42. programs were successfully tested on an Everex Step 286/16 with
  43. 2 meg of memory, using the HIMEM.SYS driver from the Microsoft
  44. HIMEM.ARC file. The HIMEM.SYS driver provided with the Everex
  45. hardware is a Version 1.x driver and is *not* compatible with
  46. these programs.
  47.  
  48. Don Roy, November 1, 1988
  49.  
  50.